package com.gitee.ice1938.module.admin.framwork.core;

import java.util.ArrayList;
import java.util.List;

public class MenuItem extends Operation {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 2946096682512292215L;

	public static final String menu_prefix = "menu_";

	private List<MenuItem> menus = new ArrayList<MenuItem>();
	private String target = "_self";

	public String getTarget() {
		return target;
	}

	public MenuItem setTarget(String target) {
		this.target = target;
		return this;
	}

	public MenuItem addMenu(MenuItem menu) {
		this.menus.add(menu);
		return this;
	}

	public List<MenuItem> getMenus() {
		return menus;
	}

	public MenuItem get() {
		return this;
	}

}
